﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GENERIC.Respository.Interfaces
{
    /// <summary>
    /// Interface de base d'une transaction SQL
    /// </summary>
    public interface ITransaction : IDisposable
    {
        /// <summary>
        /// Commiter les changements
        /// </summary>
        void Commit();

        /// <summary>
        /// Annuler les changements
        /// </summary>
        void Rollback();
    }
}
